package com.txy.springcloud.client;

import org.springframework.stereotype.Component;

@Component
public class TxyServiceCodeFallback implements TxyServiceCodeFeignClient {
    @Override
    public int validate(String email, String code) {
        return 2;
    }

    @Override
    public boolean create(String email) {
        return false;
    }
}
